package com.hmall.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "pay-service")
public interface PayClient {
    @GetMapping("/pay/status/{orderId}")//查询订单支付状态
    Byte queryPayStatus(@PathVariable Long orderId);
}
